﻿using Prism.Interactivity.InteractionRequest;
using System.Collections.Generic;
using System.Windows;

namespace Base.ModuleBase.Notifications
{
    /// <summary>
    /// 页面窗口
    /// </summary>
    public class ViewNotification : Notification
    {
        /// <summary>
        /// 要传递的参数.
        /// </summary>
        public Dictionary<string, object> Parameters { get; set; }

        /// <summary>
        /// ViewModel
        /// </summary>
        public ViewModelBase ViewModel { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public bool ShowTitle { get; set; } = true;

        /// <summary>
        /// 是否显示关闭按钮
        /// </summary>
        public Visibility ShowCloseBtn { get; set; } = Visibility.Visible;
    }
}
